Premium Content

HTML BASICS

Learn the fundamental structure of HTML documents

Beginner HTML Icon

Module 1: HTML Document Structure

HTML (HyperText Markup Language) is the standard markup language for creating web pages. It consists of elements wrapped in tags that define the structure of your content. Every HTML document has a basic structure that the browser uses to render the page correctly.

Try It Yourself:

HTML
Live Preview

Key Points:

  • <!DOCTYPE html> declares the document type and HTML version
  • <html> is the root element that wraps all content
  • <head> contains meta information, title, and links to resources
  • <body> contains all the visible content of your webpage
  • Tags usually come in pairs: opening <tag> and closing </tag>
  • The lang attribute helps with accessibility and SEO
  • meta charset="UTF-8" ensures proper character encoding
Premium Content

HEADINGS & TEXT

Learn to structure text content with HTML

Beginner HTML Icon

Module 2: Headings and Paragraphs

HTML provides six levels of headings from <h1> to <h6> to structure your content hierarchically. Paragraphs are created with the <p> tag, and you can format text with tags like <strong>, <em>, and others for emphasis and styling.

Try It Yourself:

HTML
Live Preview

Key Points:

  • <h1> should be used for main titles (only one per page for SEO)
  • Headings should be used in order (h1 > h2 > h3, etc.) for proper document structure
  • <p> tags automatically add spacing before and after paragraphs
  • Use <strong> for important text and <em> for emphasis (preferred over <b> and <i>)
  • <u> underlines text, while <code> displays code snippets
  • <br> creates line breaks (avoid overusing)
  • <hr> creates thematic breaks between sections
Premium Content

LINKS & IMAGES

Learn to add hyperlinks and images to your pages

Beginner HTML Icon

Module 3: Links and Images

The <a> tag creates hyperlinks to other pages or resources, while the <img> tag embeds images in your document. These elements are essential for creating rich, interconnected web experiences and visual content.

Try It Yourself:

HTML
Live Preview

Key Points:

  • The href attribute specifies the link destination (URL or fragment)
  • target="_blank" opens links in a new tab (use with rel="noopener" for security)
  • Images use the src attribute for the image source (URL or path)
  • The alt attribute provides alternative text for accessibility (required)
  • Always include width and height attributes for proper layout
  • You can nest images inside links to create clickable images
  • Use descriptive link text (avoid "click here")
  • For local links, use relative paths (e.g., about.html or images/photo.jpg)
Premium Content

LISTS & TABLES

Learn to organize content with lists and tables

Intermediate HTML Icon

Module 4: Lists and Tables

HTML supports ordered (<ol>), unordered (<ul>), and description (<dl>) lists for organizing content. Tables (<table>) are used for displaying tabular data with rows (<tr>), headers (<th>), and cells (<td>).

Try It Yourself:

HTML
Live Preview

Key Points:

  • Use <ul> for bullet-point lists and <ol> for numbered lists
  • Each list item is wrapped in <li> tags
  • <dl> creates description lists with terms (<dt>) and definitions (<dd>)
  • Tables use <tr> for rows, <th> for headers, and <td> for data cells
  • Structure tables with <thead>, <tbody>, and <tfoot> for better semantics
  • colspan and rowspan merge cells horizontally/vertically
  • <caption> provides a title for the table
  • Avoid using tables for layout - use CSS Grid or Flexbox instead
Premium Content

FORMS & INPUTS

Learn to create interactive forms

Intermediate HTML Icon

Module 5: Forms and Input Elements

HTML forms (<form>) allow users to enter data that can be sent to a server. They contain various input elements like text fields, checkboxes, radio buttons, dropdowns, and more, making web pages interactive.

Try It Yourself:

HTML
Live Preview

Key Points:

  • The <form> element wraps all form controls
  • action specifies where to send form data
  • method defines how to send data (GET or POST)
  • Always use <label> elements for accessibility
  • Different type attributes create different inputs (text, email, password, etc.)
  • required makes a field mandatory
  • placeholder shows example text
  • Radio buttons share the same name for single selection
  • Group related fields with <fieldset> and <legend>
  • Use novalidate to disable browser validation when needed
Premium Content

SEMANTIC HTML

Learn modern HTML5 semantic elements

Intermediate HTML Icon

Module 6: Semantic HTML5 Elements

Semantic HTML elements clearly describe their meaning to both the browser and developer. They improve accessibility, SEO, and make code easier to understand. Modern HTML5 introduced many semantic elements to replace generic <div> elements.

Try It Yourself:

HTML
Live Preview

Key Points:

  • <header> represents introductory content or navigation
  • <nav> contains major navigation blocks
  • <main> holds the primary content (only one per page)
  • <article> encloses self-contained, reusable content
  • <section> groups thematically related content
  • <aside> contains tangentially related content
  • <footer> represents footer content for its nearest ancestor
  • <figure> and <figcaption> for images/media with captions
  • <time> for machine-readable dates/times
  • <address> for contact information
  • Semantic elements improve accessibility, SEO, and code maintainability

PRACTICE PLAYGROUND

Experiment with what you've learned

Your Coding Playground: Try Your Own HTML

Use this space to experiment with everything you've learned. Try combining different HTML elements and see the results in real-time! This is your sandbox to practice and explore.

HTML
Live Preview

Challenge Exercises:

  1. Create a responsive personal portfolio page with:
    • Header with navigation
    • About section
    • Projects showcase
    • Contact form
  2. Build a blog post layout using semantic HTML5 elements
  3. Design a product card with:
    • Product image
    • Title and description
    • Price and "Add to Cart" button
  4. Create a responsive navigation menu that works on mobile
  5. Combine all concepts into a complete webpage layout

Tips & Resources:

  • Use the browser's developer tools (F12) to inspect elements
  • Try adding inline styles with the style attribute
  • Experiment with the SkillMynte color variables:
    • var(--primary) - Main green color (#04fc42)
    • var(--primary-dark) - Darker green (#03c734)
    • var(--primary-light) - Light green background (#e0ffe8)
    • var(--primary-extra-light) - Very light green (#f5fff7)
  • For more practice, try recreating popular website components

Unlock Premium SkillMynte Content

Upgrade to SkillMynte Pro for exclusive courses, advanced projects, and personalized learning paths

Premium Courses

Access our entire library of advanced courses and exclusive content

Certification

Earn industry-recognized certificates to showcase your skills

Mentorship

Get personalized guidance from industry experts

Monthly

₦2,500/month
  • All Premium Courses
  • Practice Projects
  • Community Access
  • Certificates
  • personal AI inbuilt

Annual Best Value

₦25,000/year
  • All Premium Courses
  • Practice Projects
  • Community Access
  • Certificates
  • personal AI inbuilt

Lifetime

₦800,000/once
  • All Premium Courses
  • Practice Projects
  • Community Access
  • Certificates
  • personal AI inbuilt